package com.smedi.ismedi.authoritymanagement.core.application.query.vo;

import com.smedi.ismedi.database.starter.domain.BasicField;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @Author: xulinjun
 * @Date: 2021-7-13 19:42
 */
@Data
@Accessors(chain = true)
public class FrameStructureVo<T> extends BasicField implements Serializable {
    private Long structureId;

    private boolean checkedByThisRole;

    private boolean checkedAllChildren;

    private String rootCode;

    private String rootName;

    private Long parentId;

    private int displayOrder;

    private String type;

    private Long termId;

    private T term;

    private List<FrameStructureVo> children = new ArrayList<>();
}
